package org.dandsoft.blackbox;

/**
 * User: dvilyuzhanin
 * Date: 16.01.2009 13:31:25
 */
public interface InputSignal {

    public boolean isFrame() throws ChannelException;

    public boolean hasNextFrame() throws ChannelException;

    public boolean next() throws ChannelException;

    public void finishFrame() throws ChannelException;

    public void close() throws ChannelException;

    public Signal read() throws ChannelException;

    public int read(Signal[] buffer) throws ChannelException;

    public int read(Signal[] buffer, int begin, int length) throws ChannelException;
}
